package com.colin.client.userbean;


import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

@Data
@AllArgsConstructor
public class UserDetail {
	/**
	 * 用户ID
	 */
	private String id;

	/**
	 * 用户名称
	 */
	private String name;

	/**
	 * 登录名称
	 */
	private String username;


	/**
	 * 描述信息
	 */
	private String description;

	/**
	 * 注册时间
	 */
	private Date regTime;// 注册时间


	private FwRightOrg fwRightOrg;//所属组织机构


	private Date lastPasswordResetDate;

	/**
	 * 登录密码
	 */
	private String password;

	private boolean isAccountNonExpired = true;

	private boolean isAccountNonLocked = true;

	private boolean isCredentialsNonExpired = true;

	private boolean isEnabled = true;

	private Set<AuthorityInfo> authorities = new HashSet<AuthorityInfo>();
}
